

export enum EventStatus {
    Draft = 1,
    Published = 2
}

export class EventModel {
    public id: string;
    public name: string;
    public addedByUserId: string;
    public addedbyUserName: string;
    public sponsorship: boolean;
    public status: EventStatus;
    public startDate?: Date;
    public endDate?: Date;
    public location: string;
    public presenter: string;
    public body: string;
}

export class EventListWrapper {
    public items: EventModel[];
} 